﻿using Abp.Domain.Repositories;
using RMM.Core.Entity.Massagistes;
using RMM.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RMM.Core.Massagistes
{
    public interface IMassagistService : IEntityDomainService<Massagist,long>
    {
        /// <summary>
        /// 获取店铺某一时间段空闲的技师
        /// </summary>
        /// <param name="shopId"></param>
        /// <param name="StartTime"></param>
        /// <param name="EndTime"></param>
        /// <returns></returns>
        Task<List<Massagist>> GetFreeMassagistAsync(int shopId, DateTime StartTime, DateTime EndTime);

        Task<IQueryable<MassagistShare>> GetShareMassagistListAsync();

        Task<IQueryable<MassagistProject>> GetMassagistProjectAsync();

        IRepository<MassagistProject, long> GetMassagistProjectRepository();
    }
}
